package vues;

import java.awt.Color;

import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

import modele.map.Case;

public class CasePanel extends JPanel{

	private Case c;
	private ImageIcon img;

	public CasePanel(Case c) {
		super();
		this.c = c;
		this.img = new ImageIcon();
		this.init();
		this.setOpaque(false);
	}

	private void init() {
		this.add(new JLabel(img));
	}

	public Case getCase() {
		return c;
	}

	public void setCase(Case c) {
		this.c = c;
	}

	public ImageIcon getImg() {
		return img;
	}

	public void setImg(ImageIcon img) {
		this.img = img;
	}
	
	
	
	
}
